<?php $this->_extends('_layouts/default_layout'); ?>
<?php echo $this->_block('title')?>
<?php echo '会员中心推荐赚钱',$config['sitename'] ?>
<?php echo $this->_endblock()?>
<?php echo $this->_block('meta')?>
<link rel="stylesheet"
	type="text/css" href="<?php echo $_BASE_DIR; ?>css/global.css" />
<link rel="stylesheet"
	href="<?php echo $_BASE_DIR; ?>images/account_con.css" type="text/css">
	
	<script type="text/javascript" src="<?php echo $_BASE_DIR?>javascripts/jquery.min.js"></script>
	<script type="text/javascript" src="<?php echo $_BASE_DIR?>javascripts/source/dwz.tree.js"></script>
<?php echo $this->_endblock()?>
<?php $this->_block('center'); ?>
<div class="line6px">
	<img src="<?php echo $_BASE_DIR; ?>images/account_con_03.jpg">
</div>
<div id="maincon_c">
<?php $this->_element('userleft') ?>
	<div id="maincon_c_r">
		<div id="tjmain">
			
			
			<div id="maininfo">
				
			<table border="2" bordercolor="#FFFFFF" cellpadding="0" cellspacing="0" width="100%">
				<tbody>
				<tr>
				
				</tr>
				</tbody>
			</table>	
			</div>
		</div>
		<div class="clear"></div>
		<br>
		<table border="2" bordercolor="#FFFFFF" cellpadding="0"
			cellspacing="0" width="100%">
			<tbody>
				<tr>
					<td class="firtr" width="20%"><strong>订单ID</strong></td>
					<td class="firtr" width="10%"><strong>订单金额</strong></td>
					<td class="firtr" width="20%"><strong>下单时间</strong></td>
					<td class="firtr" width="13%"><strong>状态</strong></td>
					
					
				</tr>
				
				<?php foreach($item as $k=>$v):?>
				<tr>
					<td><center><?php echo $v->orderid;?></center></td>
					<td><center><?php echo $v->ordertatolmoney/100?>元</center></td>
					<td><center><?php echo date('Y-m-d G:i:s',$v->createtime);?></center></td>
					<td><center><?php echo $v->statusstr;?></center></td>				
				</tr>
				<?php endforeach;?>
					
				
				
			</tbody>
		</table>
							<div class="page">
							<?php echo $this->_control('pagination', 'my-pagination', array('pagination' => $pagination,'url_args'=>$param)); ?>
							</div>
	</div>
	
	<div class="clear"></div>
</div>

<div style="margin-bottom: 10px;"  class="line6px">
	<img src="<?php echo $_BASE_DIR; ?>images/account_con_15.jpg">
</div>
<script>
function copyToClipBoard()
{
	var commendUrl = document.getElementById('commendUrl');
	 window.clipboardData.setData("Text",commendUrl.value);
	 alert('复制成功');
	}
</script>
<?php $this->_endblock(); ?>
